/**Class represents an equilateral triangle based on a regular polygon where every edge has the same length.
 * 
 */
public class EquilateralTriangle extends RegularPolygon {
	
	/**Creates a new equilateral triangle on basis of a regular polygon.
	 * 
	 * @param length The value of the length of each edge.
	 * @throws NotEnoughEdgesException Exception if polygon is created with less than 3 edges.
	 * @throws ValueSmallerZeroException Exception if negative values are given for the length of an edge.
	 */
	protected EquilateralTriangle(double length) throws NotEnoughEdgesException, ValueSmallerZeroException {
		super(3, length);
	}
}